

using System;
using System.Collections.Generic;
using System.Text;
using System.Data;using THSERP.BusinessEntities;using THSERP.BaseProvider;
using System.Windows.Forms;

namespace THSERP.Modules.Account
{
    public class GLAccountsGridControl : THSGridControl
    {
        public override void InitGridControlDataSource()
        {
            //base.InitGridControlDataSource();
            AccountEntities entity = (AccountEntities)((BaseModuleERP)Screen.Module).CurrentModuleEntity;
            BindingSource bds = new BindingSource();
            bds.DataSource = entity.GLAccountsList;
            this.DataSource = bds;
        }
    }
}
